{% extends "order/base.html" %}{% load i18n %} 
{% block title %}{% trans "Order List title" %}{% endblock %}
{% block content %}
<div class="box">
	{% if product %}
	<a href="/order/new/{{ product.id }}/">{% trans "Create new group Orde" %}</a> 
	{%endif%} 
	{% if orders %}
	<ol>
		{% for order in orders %}
		<li>
			<a href="/order/view/{{order.id}}/">{{ order.title}}[{{ order.product.name }}]</a> &nbsp;&nbsp;&nbsp;&nbsp;
			<font color="red">{{order.get_status}}</font>
		</li>
		{% endfor %}
	</ol>
	{% else %}
		{% trans "no order!" %}
	{% endif %}
</div>
{% endblock %}
